<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

{
"success": 1,

"result": [
        <c:forEach items="${compromissos}" var="compromisso" varStatus="status">
            {
                "id":${compromisso.id},
                "title":"${compromisso.assunto}",
                "url":"intranet/compromisso/visualiza?id=${compromisso.id}",
                "class":"event-info",
                "start":"${compromisso.dataInicio.time}",
                "end": "${compromisso.dataTermino.time}"
            }
            <c:if test="${not status.last}">,</c:if>
        </c:forEach>
        ]
}